package cn.hengzhu.main_manager.repository.dao;

import cn.hengzhu.main_manager.repository.domain.ManageCase;
import cn.hengzhu.main_manager.repository.domain.ManageCaseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ManageCaseMapper {
    /**
     *
     * @mbg.generated
     */
    long countByExample(ManageCaseExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByExample(ManageCaseExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated
     */
    int insert(ManageCase record);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(ManageCase record);

    /**
     *
     * @mbg.generated
     */
    List<ManageCase> selectByExample(ManageCaseExample example);

    /**
     *
     * @mbg.generated
     */
    ManageCase selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") ManageCase record, @Param("example") ManageCaseExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") ManageCase record, @Param("example") ManageCaseExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(ManageCase record);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(ManageCase record);
    

    List<ManageCase> getAllCase();

   	void updatList(List<ManageCase> updateCaseList);

   	List<ManageCase> getListNumByCompId(@Param("compId") Integer compId,@Param("useType") Byte useType);
   	/**
   	 * 
   	 * @param list
   	 * @return
   	 */
   	List<ManageCase> selectInCaseNo(@Param("list") List<String> list);
}